<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>lwIP: src/include/lwip/netif.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">lwIP
   &#160;<span id="projectnumber">2.1.2</span>
   </div>
   <div id="projectbrief">Lightweight IP stack</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('netif_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">netif.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="opt_8h.html">lwip/opt.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="err_8h.html">lwip/err.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ip__addr_8h.html">lwip/ip_addr.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="def_8h.html">lwip/def.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="pbuf_8h.html">lwip/pbuf.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="stats_8h.html">lwip/stats.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnetif.html">netif</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionnetif__ext__callback__args__t.html">netif_ext_callback_args_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnetif__ext__callback__args__t_1_1link__changed__s.html">netif_ext_callback_args_t::link_changed_s</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnetif__ext__callback__args__t_1_1status__changed__s.html">netif_ext_callback_args_t::status_changed_s</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnetif__ext__callback__args__t_1_1ipv4__changed__s.html">netif_ext_callback_args_t::ipv4_changed_s</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnetif__ext__callback__args__t_1_1ipv6__set__s.html">netif_ext_callback_args_t::ipv6_set_s</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnetif__ext__callback__args__t_1_1ipv6__addr__state__changed__s.html">netif_ext_callback_args_t::ipv6_addr_state_changed_s</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ab887a8ec553de1be1d04cf2961c63c41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#ab887a8ec553de1be1d04cf2961c63c41">NETIF_MAX_HWADDR_LEN</a>&#160;&#160;&#160;6U</td></tr>
<tr class="separator:ab887a8ec553de1be1d04cf2961c63c41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a302f24fbfe883ee4840ffc71f267ae2a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a302f24fbfe883ee4840ffc71f267ae2a">NETIF_NAMESIZE</a>&#160;&#160;&#160;6</td></tr>
<tr class="separator:a302f24fbfe883ee4840ffc71f267ae2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab47d7d130693dc155f480a5bf447725e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__flags.html#gab47d7d130693dc155f480a5bf447725e">NETIF_FLAG_UP</a>&#160;&#160;&#160;0x01U</td></tr>
<tr class="separator:gab47d7d130693dc155f480a5bf447725e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef64fe15c82bc7b235366923e517104e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__flags.html#gaef64fe15c82bc7b235366923e517104e">NETIF_FLAG_BROADCAST</a>&#160;&#160;&#160;0x02U</td></tr>
<tr class="separator:gaef64fe15c82bc7b235366923e517104e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga75f5a2b9276c93e3bd18a568459fd2d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__flags.html#ga75f5a2b9276c93e3bd18a568459fd2d8">NETIF_FLAG_LINK_UP</a>&#160;&#160;&#160;0x04U</td></tr>
<tr class="separator:ga75f5a2b9276c93e3bd18a568459fd2d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga92448dc510bc8d700c09e5c971ef0676"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__flags.html#ga92448dc510bc8d700c09e5c971ef0676">NETIF_FLAG_ETHARP</a>&#160;&#160;&#160;0x08U</td></tr>
<tr class="separator:ga92448dc510bc8d700c09e5c971ef0676"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76ad9d0cf9f029df0ab2a998c64040dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__flags.html#ga76ad9d0cf9f029df0ab2a998c64040dc">NETIF_FLAG_ETHERNET</a>&#160;&#160;&#160;0x10U</td></tr>
<tr class="separator:ga76ad9d0cf9f029df0ab2a998c64040dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9493b923d733c73f6006d9714826558"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__flags.html#gac9493b923d733c73f6006d9714826558">NETIF_FLAG_IGMP</a>&#160;&#160;&#160;0x20U</td></tr>
<tr class="separator:gac9493b923d733c73f6006d9714826558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab14fbe1447d2fdbdf5abc87f51eb6508"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__flags.html#gab14fbe1447d2fdbdf5abc87f51eb6508">NETIF_FLAG_MLD6</a>&#160;&#160;&#160;0x40U</td></tr>
<tr class="separator:gab14fbe1447d2fdbdf5abc87f51eb6508"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ce61a277e1951183f7b7d03742c231f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__cd.html#ga5ce61a277e1951183f7b7d03742c231f">netif_set_client_data</a>(<a class="el" href="structnetif.html">netif</a>,  id,  data)&#160;&#160;&#160;<a class="el" href="group__netif__cd.html#ga4bce01ddbf0fd70cb88431f773c91bc5">netif_get_client_data</a>(<a class="el" href="structnetif.html">netif</a>, id) = (data)</td></tr>
<tr class="separator:ga5ce61a277e1951183f7b7d03742c231f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4bce01ddbf0fd70cb88431f773c91bc5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__cd.html#ga4bce01ddbf0fd70cb88431f773c91bc5">netif_get_client_data</a>(<a class="el" href="structnetif.html">netif</a>,  id)&#160;&#160;&#160;(<a class="el" href="structnetif.html">netif</a>)-&gt;client_data[(id)]</td></tr>
<tr class="separator:ga4bce01ddbf0fd70cb88431f773c91bc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9b6e63b5dd2968fe0a4813f3eefb55d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#gac9b6e63b5dd2968fe0a4813f3eefb55d">netif_ip4_addr</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;((const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a>*)<a class="el" href="group__ip4addr.html#gad7268a496b7e3f872efecd859eba6f03">ip_2_ip4</a>(&amp;((<a class="el" href="structnetif.html">netif</a>)-&gt;<a class="el" href="structip__addr.html">ip_addr</a>)))</td></tr>
<tr class="separator:gac9b6e63b5dd2968fe0a4813f3eefb55d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga952d1436f2428b92fc8197bcf2f8fca3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga952d1436f2428b92fc8197bcf2f8fca3">netif_ip4_netmask</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;((const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a>*)<a class="el" href="group__ip4addr.html#gad7268a496b7e3f872efecd859eba6f03">ip_2_ip4</a>(&amp;((<a class="el" href="structnetif.html">netif</a>)-&gt;netmask)))</td></tr>
<tr class="separator:ga952d1436f2428b92fc8197bcf2f8fca3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga86d69faf416765b7f8faf60a43cc50da"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga86d69faf416765b7f8faf60a43cc50da">netif_ip4_gw</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;((const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a>*)<a class="el" href="group__ip4addr.html#gad7268a496b7e3f872efecd859eba6f03">ip_2_ip4</a>(&amp;((<a class="el" href="structnetif.html">netif</a>)-&gt;gw)))</td></tr>
<tr class="separator:ga86d69faf416765b7f8faf60a43cc50da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54179a2f3b7cc35b23ee8d692d8d8022"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga54179a2f3b7cc35b23ee8d692d8d8022">netif_ip_addr4</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;((const <a class="el" href="group__ipaddr.html#ga16ef96d6cde029029bbf47fee35fd67a">ip_addr_t</a>*)&amp;((<a class="el" href="structnetif.html">netif</a>)-&gt;<a class="el" href="structip__addr.html">ip_addr</a>))</td></tr>
<tr class="separator:ga54179a2f3b7cc35b23ee8d692d8d8022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58518602f388d2640985a01a312f0a51"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga58518602f388d2640985a01a312f0a51">netif_ip_netmask4</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;((const <a class="el" href="group__ipaddr.html#ga16ef96d6cde029029bbf47fee35fd67a">ip_addr_t</a>*)&amp;((<a class="el" href="structnetif.html">netif</a>)-&gt;netmask))</td></tr>
<tr class="separator:ga58518602f388d2640985a01a312f0a51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ea95478e000701423b7f6316e575a2a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga7ea95478e000701423b7f6316e575a2a">netif_ip_gw4</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;((const <a class="el" href="group__ipaddr.html#ga16ef96d6cde029029bbf47fee35fd67a">ip_addr_t</a>*)&amp;((<a class="el" href="structnetif.html">netif</a>)-&gt;gw))</td></tr>
<tr class="separator:ga7ea95478e000701423b7f6316e575a2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94a4c24c988afc0a577387730f303b19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga94a4c24c988afc0a577387730f303b19">netif_is_up</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;(((<a class="el" href="structnetif.html">netif</a>)-&gt;flags &amp; <a class="el" href="group__netif__flags.html#gab47d7d130693dc155f480a5bf447725e">NETIF_FLAG_UP</a>) ? (u8_t)1 : (u8_t)0)</td></tr>
<tr class="separator:ga94a4c24c988afc0a577387730f303b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a780be4c3fa9f7f2534f7865666c3a1b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a780be4c3fa9f7f2534f7865666c3a1b8">netif_is_link_up</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;(((<a class="el" href="structnetif.html">netif</a>)-&gt;flags &amp; <a class="el" href="group__netif__flags.html#ga75f5a2b9276c93e3bd18a568459fd2d8">NETIF_FLAG_LINK_UP</a>) ? (u8_t)1 : (u8_t)0)</td></tr>
<tr class="separator:a780be4c3fa9f7f2534f7865666c3a1b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e5d2c6fa5566a24dd848f3a2c7c957f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga5e5d2c6fa5566a24dd848f3a2c7c957f">netif_set_hostname</a>(<a class="el" href="structnetif.html">netif</a>,  name)&#160;&#160;&#160;do { if((<a class="el" href="structnetif.html">netif</a>) != NULL) { (<a class="el" href="structnetif.html">netif</a>)-&gt;hostname = name; }}while(0)</td></tr>
<tr class="separator:ga5e5d2c6fa5566a24dd848f3a2c7c957f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a378ba73e60cd1e5235474f0db22978"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga5a378ba73e60cd1e5235474f0db22978">netif_get_hostname</a>(<a class="el" href="structnetif.html">netif</a>)&#160;&#160;&#160;(((<a class="el" href="structnetif.html">netif</a>) != NULL) ? ((<a class="el" href="structnetif.html">netif</a>)-&gt;hostname) : NULL)</td></tr>
<tr class="separator:ga5a378ba73e60cd1e5235474f0db22978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3428b3f8195249c6cd8704a4db46b401"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga3428b3f8195249c6cd8704a4db46b401">netif_set_igmp_mac_filter</a>(<a class="el" href="structnetif.html">netif</a>,  function)&#160;&#160;&#160;do { if((<a class="el" href="structnetif.html">netif</a>) != NULL) { (<a class="el" href="structnetif.html">netif</a>)-&gt;igmp_mac_filter = function; }}while(0)</td></tr>
<tr class="separator:ga3428b3f8195249c6cd8704a4db46b401"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97f30bb5542e4c07d3b32e3c754e104c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga97f30bb5542e4c07d3b32e3c754e104c">netif_set_mld_mac_filter</a>(<a class="el" href="structnetif.html">netif</a>,  function)&#160;&#160;&#160;do { if((<a class="el" href="structnetif.html">netif</a>) != NULL) { (<a class="el" href="structnetif.html">netif</a>)-&gt;mld_mac_filter = function; }}while(0)</td></tr>
<tr class="separator:ga97f30bb5542e4c07d3b32e3c754e104c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae424e336fe9f013b30d4065fd35c91ee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip6.html#gae424e336fe9f013b30d4065fd35c91ee">netif_ip_addr6</a>(<a class="el" href="structnetif.html">netif</a>,  i)&#160;&#160;&#160;((const <a class="el" href="group__ipaddr.html#ga16ef96d6cde029029bbf47fee35fd67a">ip_addr_t</a>*)(&amp;((<a class="el" href="structnetif.html">netif</a>)-&gt;<a class="el" href="structip6__addr.html">ip6_addr</a>[i])))</td></tr>
<tr class="separator:gae424e336fe9f013b30d4065fd35c91ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ec0623f1a858a0cdb187beaa89df365"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip6.html#ga7ec0623f1a858a0cdb187beaa89df365">netif_ip6_addr</a>(<a class="el" href="structnetif.html">netif</a>,  i)&#160;&#160;&#160;((const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a>*)<a class="el" href="group__ip6addr.html#ga06e75bcd198012b5ba39480c233608bd">ip_2_ip6</a>(&amp;((<a class="el" href="structnetif.html">netif</a>)-&gt;<a class="el" href="structip6__addr.html">ip6_addr</a>[i])))</td></tr>
<tr class="separator:ga7ec0623f1a858a0cdb187beaa89df365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbfecb47897cfe63d4f6366c1fed23b2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#adbfecb47897cfe63d4f6366c1fed23b2">LWIP_NSC_NETIF_ADDED</a>&#160;&#160;&#160;0x0001</td></tr>
<tr class="separator:adbfecb47897cfe63d4f6366c1fed23b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8e2dc87c19a03d481ae37bcf7ced5c9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#ae8e2dc87c19a03d481ae37bcf7ced5c9">LWIP_NSC_NETIF_REMOVED</a>&#160;&#160;&#160;0x0002</td></tr>
<tr class="separator:ae8e2dc87c19a03d481ae37bcf7ced5c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ad7308195c0581680dd62fb148501cd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a5ad7308195c0581680dd62fb148501cd">LWIP_NSC_LINK_CHANGED</a>&#160;&#160;&#160;0x0004</td></tr>
<tr class="separator:a5ad7308195c0581680dd62fb148501cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f406ee3ab60e8a4f27ae2483c96b8e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a6f406ee3ab60e8a4f27ae2483c96b8e2">LWIP_NSC_STATUS_CHANGED</a>&#160;&#160;&#160;0x0008</td></tr>
<tr class="separator:a6f406ee3ab60e8a4f27ae2483c96b8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb4e790199b02469aa04c044ef5cfa32"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#aeb4e790199b02469aa04c044ef5cfa32">LWIP_NSC_IPV4_ADDRESS_CHANGED</a>&#160;&#160;&#160;0x0010</td></tr>
<tr class="separator:aeb4e790199b02469aa04c044ef5cfa32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22400d2202581b4a7273cded712adf49"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a22400d2202581b4a7273cded712adf49">LWIP_NSC_IPV4_GATEWAY_CHANGED</a>&#160;&#160;&#160;0x0020</td></tr>
<tr class="separator:a22400d2202581b4a7273cded712adf49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad747072771a887443ab33f90a12077d4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#ad747072771a887443ab33f90a12077d4">LWIP_NSC_IPV4_NETMASK_CHANGED</a>&#160;&#160;&#160;0x0040</td></tr>
<tr class="separator:ad747072771a887443ab33f90a12077d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ff19a6f3045f65d0397d30b6609660a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a4ff19a6f3045f65d0397d30b6609660a">LWIP_NSC_IPV4_SETTINGS_CHANGED</a>&#160;&#160;&#160;0x0080</td></tr>
<tr class="separator:a4ff19a6f3045f65d0397d30b6609660a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fb4317a77ee2e3848be80db15618666"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a8fb4317a77ee2e3848be80db15618666">LWIP_NSC_IPV6_SET</a>&#160;&#160;&#160;0x0100</td></tr>
<tr class="separator:a8fb4317a77ee2e3848be80db15618666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d70fe11cac43c8fa35827b8e607ccf6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a0d70fe11cac43c8fa35827b8e607ccf6">LWIP_NSC_IPV6_ADDR_STATE_CHANGED</a>&#160;&#160;&#160;0x0200</td></tr>
<tr class="separator:a0d70fe11cac43c8fa35827b8e607ccf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a2b02a78a8769925ff8e4f83d34e5e1f5"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a2b02a78a8769925ff8e4f83d34e5e1f5">netif_init_fn</a>) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:a2b02a78a8769925ff8e4f83d34e5e1f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2302b1b64ac7b95f24c6bab754a575e"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#ab2302b1b64ac7b95f24c6bab754a575e">netif_input_fn</a>) (struct <a class="el" href="structpbuf.html">pbuf</a> *p, struct <a class="el" href="structnetif.html">netif</a> *inp)</td></tr>
<tr class="separator:ab2302b1b64ac7b95f24c6bab754a575e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b4893aa2ed8c606a0cd7aa932fe5067"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a7b4893aa2ed8c606a0cd7aa932fe5067">netif_output_fn</a>) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, struct <a class="el" href="structpbuf.html">pbuf</a> *p, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *ipaddr)</td></tr>
<tr class="separator:a7b4893aa2ed8c606a0cd7aa932fe5067"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a343a5b14136a51957d552527384674b3"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a343a5b14136a51957d552527384674b3">netif_output_ip6_fn</a>) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, struct <a class="el" href="structpbuf.html">pbuf</a> *p, const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a> *ipaddr)</td></tr>
<tr class="separator:a343a5b14136a51957d552527384674b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab75e9d808bc1b788bea84213e6a111ed"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#ab75e9d808bc1b788bea84213e6a111ed">netif_linkoutput_fn</a>) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, struct <a class="el" href="structpbuf.html">pbuf</a> *p)</td></tr>
<tr class="separator:ab75e9d808bc1b788bea84213e6a111ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a447d0a7e7c6e2396557c287b8b8c9436"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a447d0a7e7c6e2396557c287b8b8c9436">netif_status_callback_fn</a>) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:a447d0a7e7c6e2396557c287b8b8c9436"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71cad3277efe29191eef3348f4bf21f7"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a71cad3277efe29191eef3348f4bf21f7">netif_igmp_mac_filter_fn</a>) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *group, enum <a class="el" href="netif_8h.html#ab194ec4241fad8b6e9aac51e3ec23de0">netif_mac_filter_action</a> action)</td></tr>
<tr class="separator:a71cad3277efe29191eef3348f4bf21f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2ed0716122b65e7feb43e0dd99ae468"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#af2ed0716122b65e7feb43e0dd99ae468">netif_mld_mac_filter_fn</a>) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a> *group, enum <a class="el" href="netif_8h.html#ab194ec4241fad8b6e9aac51e3ec23de0">netif_mac_filter_action</a> action)</td></tr>
<tr class="separator:af2ed0716122b65e7feb43e0dd99ae468"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab2b9387389513a02027c62e246723808"><td class="memItemLeft" align="right" valign="top">typedef u16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gab2b9387389513a02027c62e246723808">netif_nsc_reason_t</a></td></tr>
<tr class="separator:gab2b9387389513a02027c62e246723808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ee213cea065424c89c66f138c008da1"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga5ee213cea065424c89c66f138c008da1">netif_ext_callback_fn</a>) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, <a class="el" href="group__netif.html#gab2b9387389513a02027c62e246723808">netif_nsc_reason_t</a> reason, const <a class="el" href="unionnetif__ext__callback__args__t.html">netif_ext_callback_args_t</a> *args)</td></tr>
<tr class="separator:ga5ee213cea065424c89c66f138c008da1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ab194ec4241fad8b6e9aac51e3ec23de0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#ab194ec4241fad8b6e9aac51e3ec23de0">netif_mac_filter_action</a> { <a class="el" href="netif_8h.html#ab194ec4241fad8b6e9aac51e3ec23de0a7ad3406353906deb4e64ebeed349e07e">NETIF_DEL_MAC_FILTER</a> = 0, 
<a class="el" href="netif_8h.html#ab194ec4241fad8b6e9aac51e3ec23de0a4186fbaf94be956ea1a3b02cd1cccb1f">NETIF_ADD_MAC_FILTER</a> = 1
 }</td></tr>
<tr class="separator:ab194ec4241fad8b6e9aac51e3ec23de0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga55d62d43b5a9a5527f0116ec38369978"><td class="memItemLeft" align="right" valign="top">u8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__cd.html#ga55d62d43b5a9a5527f0116ec38369978">netif_alloc_client_data_id</a> (void)</td></tr>
<tr class="separator:ga55d62d43b5a9a5527f0116ec38369978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac20150ac754ff1f88afeaa33be3552a4"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gac20150ac754ff1f88afeaa33be3552a4">netif_add_noaddr</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, void *state, <a class="el" href="netif_8h.html#a2b02a78a8769925ff8e4f83d34e5e1f5">netif_init_fn</a> init, <a class="el" href="netif_8h.html#ab2302b1b64ac7b95f24c6bab754a575e">netif_input_fn</a> input)</td></tr>
<tr class="separator:gac20150ac754ff1f88afeaa33be3552a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade5498543e74067f28cc6bef0209e3be"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gade5498543e74067f28cc6bef0209e3be">netif_add</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *ipaddr, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *netmask, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *gw, void *state, <a class="el" href="netif_8h.html#a2b02a78a8769925ff8e4f83d34e5e1f5">netif_init_fn</a> init, <a class="el" href="netif_8h.html#ab2302b1b64ac7b95f24c6bab754a575e">netif_input_fn</a> input)</td></tr>
<tr class="separator:gade5498543e74067f28cc6bef0209e3be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga85e31a68e96390dab2feffb11f4948a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga85e31a68e96390dab2feffb11f4948a1">netif_set_addr</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *ipaddr, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *netmask, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *gw)</td></tr>
<tr class="separator:ga85e31a68e96390dab2feffb11f4948a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c6e541f0c184e1ea61a5cd8afe3e979"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga9c6e541f0c184e1ea61a5cd8afe3e979">netif_remove</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:ga9c6e541f0c184e1ea61a5cd8afe3e979"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69c93a139e8a1f6ef4e3d076a2897def"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga69c93a139e8a1f6ef4e3d076a2897def">netif_find</a> (const char *name)</td></tr>
<tr class="separator:ga69c93a139e8a1f6ef4e3d076a2897def"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac90f290edd005238d62aa94c4ac9dea3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gac90f290edd005238d62aa94c4ac9dea3">netif_set_default</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:gac90f290edd005238d62aa94c4ac9dea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73b043a7ec0e4899aba8433ec9064cca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga73b043a7ec0e4899aba8433ec9064cca">netif_set_ipaddr</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *ipaddr)</td></tr>
<tr class="separator:ga73b043a7ec0e4899aba8433ec9064cca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bdd7c057c2f55f670853e3906014a53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga0bdd7c057c2f55f670853e3906014a53">netif_set_netmask</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *netmask)</td></tr>
<tr class="separator:ga0bdd7c057c2f55f670853e3906014a53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga841876c274c3c90898579f9e12f3b520"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip4.html#ga841876c274c3c90898579f9e12f3b520">netif_set_gw</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *gw)</td></tr>
<tr class="separator:ga841876c274c3c90898579f9e12f3b520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf19693be401a265a52d2a56c65753121"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gaf19693be401a265a52d2a56c65753121">netif_set_up</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:gaf19693be401a265a52d2a56c65753121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga641d07ed8c31fe5306bc01605a6790cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga641d07ed8c31fe5306bc01605a6790cf">netif_set_down</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:ga641d07ed8c31fe5306bc01605a6790cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc8787b23ac0ee023979cbadf87813d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gadc8787b23ac0ee023979cbadf87813d4">netif_set_status_callback</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, <a class="el" href="netif_8h.html#a447d0a7e7c6e2396557c287b8b8c9436">netif_status_callback_fn</a> status_callback)</td></tr>
<tr class="separator:gadc8787b23ac0ee023979cbadf87813d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga319c88da0fdf25c1fee1595299bc35ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga319c88da0fdf25c1fee1595299bc35ce">netif_set_remove_callback</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, <a class="el" href="netif_8h.html#a447d0a7e7c6e2396557c287b8b8c9436">netif_status_callback_fn</a> remove_callback)</td></tr>
<tr class="separator:ga319c88da0fdf25c1fee1595299bc35ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0d2975f189277990e9d5276fdd9e9ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gae0d2975f189277990e9d5276fdd9e9ea">netif_set_link_up</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:gae0d2975f189277990e9d5276fdd9e9ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34e37a1e8e358760dc1c43887922c7db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga34e37a1e8e358760dc1c43887922c7db">netif_set_link_down</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:ga34e37a1e8e358760dc1c43887922c7db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cd45910add90e267e33d680bbc3f0f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga1cd45910add90e267e33d680bbc3f0f4">netif_set_link_callback</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, <a class="el" href="netif_8h.html#a447d0a7e7c6e2396557c287b8b8c9436">netif_status_callback_fn</a> link_callback)</td></tr>
<tr class="separator:ga1cd45910add90e267e33d680bbc3f0f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga691f1cc7c9778ffa62a3843c184404b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga691f1cc7c9778ffa62a3843c184404b2">netif_loop_output</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, struct <a class="el" href="structpbuf.html">pbuf</a> *p)</td></tr>
<tr class="separator:ga691f1cc7c9778ffa62a3843c184404b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbaed78253d21e1b54e65651da3e327"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a0fbaed78253d21e1b54e65651da3e327">netif_poll</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td></tr>
<tr class="separator:a0fbaed78253d21e1b54e65651da3e327"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5532f93d68c874fb99c681bff2165385"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__lwip__nosys.html#ga5532f93d68c874fb99c681bff2165385">netif_input</a> (struct <a class="el" href="structpbuf.html">pbuf</a> *p, struct <a class="el" href="structnetif.html">netif</a> *inp)</td></tr>
<tr class="separator:ga5532f93d68c874fb99c681bff2165385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae21572fdbd8664d22a1b281a6c31c9bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip6.html#gae21572fdbd8664d22a1b281a6c31c9bb">netif_ip6_addr_set</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, s8_t addr_idx, const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a> *addr6)</td></tr>
<tr class="separator:gae21572fdbd8664d22a1b281a6c31c9bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cde7286535c7f037a9b16052561b91f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip6.html#ga9cde7286535c7f037a9b16052561b91f">netif_ip6_addr_set_state</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, s8_t addr_idx, u8_t state)</td></tr>
<tr class="separator:ga9cde7286535c7f037a9b16052561b91f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ec111195bcc452f77895ad35aedd7dc"><td class="memItemLeft" align="right" valign="top">s8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a0ec111195bcc452f77895ad35aedd7dc">netif_get_ip6_addr_match</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a> *ip6addr)</td></tr>
<tr class="separator:a0ec111195bcc452f77895ad35aedd7dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae864211a5eb052deb5da7bc7e3427fb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip6.html#gae864211a5eb052deb5da7bc7e3427fb9">netif_create_ip6_linklocal_address</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, u8_t from_mac_48bit)</td></tr>
<tr class="separator:gae864211a5eb052deb5da7bc7e3427fb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0727fba5f5b3fed8d7013775506f327"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif__ip6.html#gab0727fba5f5b3fed8d7013775506f327">netif_add_ip6_address</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a> *ip6addr, s8_t *chosen_idx)</td></tr>
<tr class="separator:gab0727fba5f5b3fed8d7013775506f327"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac763a1f647fb9e8af4254418e813a6ae"><td class="memItemLeft" align="right" valign="top">u8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gac763a1f647fb9e8af4254418e813a6ae">netif_name_to_index</a> (const char *name)</td></tr>
<tr class="separator:gac763a1f647fb9e8af4254418e813a6ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ff104d083914e87a7805a0b90a85755"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga3ff104d083914e87a7805a0b90a85755">netif_index_to_name</a> (u8_t idx, char *name)</td></tr>
<tr class="separator:ga3ff104d083914e87a7805a0b90a85755"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae4df885347c800a5486d3bf25981300e"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#gae4df885347c800a5486d3bf25981300e">netif_get_by_index</a> (u8_t idx)</td></tr>
<tr class="separator:gae4df885347c800a5486d3bf25981300e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3efc2b72f75936d50708247420c9d1d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga3efc2b72f75936d50708247420c9d1d9">netif_add_ext_callback</a> (netif_ext_callback_t *callback, <a class="el" href="group__netif.html#ga5ee213cea065424c89c66f138c008da1">netif_ext_callback_fn</a> fn)</td></tr>
<tr class="separator:ga3efc2b72f75936d50708247420c9d1d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d91ac26b0993a9a3466b317ab5ec716"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__netif.html#ga1d91ac26b0993a9a3466b317ab5ec716">netif_remove_ext_callback</a> (netif_ext_callback_t *callback)</td></tr>
<tr class="separator:ga1d91ac26b0993a9a3466b317ab5ec716"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75b5298b1c3c3794747d78a4ce95d81c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a75b5298b1c3c3794747d78a4ce95d81c">netif_invoke_ext_callback</a> (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, <a class="el" href="group__netif.html#gab2b9387389513a02027c62e246723808">netif_nsc_reason_t</a> reason, const <a class="el" href="unionnetif__ext__callback__args__t.html">netif_ext_callback_args_t</a> *args)</td></tr>
<tr class="separator:a75b5298b1c3c3794747d78a4ce95d81c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a1c8141eaa98f6dc6dfddbb23a706656c"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a1c8141eaa98f6dc6dfddbb23a706656c">netif_list</a></td></tr>
<tr class="separator:a1c8141eaa98f6dc6dfddbb23a706656c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d0925cbce550ed461907aee816713ba"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="netif_8h.html#a3d0925cbce550ed461907aee816713ba">netif_default</a></td></tr>
<tr class="separator:a3d0925cbce550ed461907aee816713ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>netif API (to be used from TCPIP thread) </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="aeb4e790199b02469aa04c044ef5cfa32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb4e790199b02469aa04c044ef5cfa32">&#9670;&nbsp;</a></span>LWIP_NSC_IPV4_ADDRESS_CHANGED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_IPV4_ADDRESS_CHANGED&#160;&#160;&#160;0x0010</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>IPv4 address has changed </p>

</div>
</div>
<a id="a22400d2202581b4a7273cded712adf49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22400d2202581b4a7273cded712adf49">&#9670;&nbsp;</a></span>LWIP_NSC_IPV4_GATEWAY_CHANGED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_IPV4_GATEWAY_CHANGED&#160;&#160;&#160;0x0020</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>IPv4 gateway has changed </p>

</div>
</div>
<a id="ad747072771a887443ab33f90a12077d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad747072771a887443ab33f90a12077d4">&#9670;&nbsp;</a></span>LWIP_NSC_IPV4_NETMASK_CHANGED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_IPV4_NETMASK_CHANGED&#160;&#160;&#160;0x0040</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>IPv4 netmask has changed </p>

</div>
</div>
<a id="a4ff19a6f3045f65d0397d30b6609660a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ff19a6f3045f65d0397d30b6609660a">&#9670;&nbsp;</a></span>LWIP_NSC_IPV4_SETTINGS_CHANGED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_IPV4_SETTINGS_CHANGED&#160;&#160;&#160;0x0080</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>called AFTER IPv4 address/gateway/netmask changes have been applied </p>

</div>
</div>
<a id="a0d70fe11cac43c8fa35827b8e607ccf6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d70fe11cac43c8fa35827b8e607ccf6">&#9670;&nbsp;</a></span>LWIP_NSC_IPV6_ADDR_STATE_CHANGED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_IPV6_ADDR_STATE_CHANGED&#160;&#160;&#160;0x0200</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>IPv6 address state has changed </p>

</div>
</div>
<a id="a8fb4317a77ee2e3848be80db15618666"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fb4317a77ee2e3848be80db15618666">&#9670;&nbsp;</a></span>LWIP_NSC_IPV6_SET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_IPV6_SET&#160;&#160;&#160;0x0100</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>IPv6 address was added </p>

</div>
</div>
<a id="a5ad7308195c0581680dd62fb148501cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ad7308195c0581680dd62fb148501cd">&#9670;&nbsp;</a></span>LWIP_NSC_LINK_CHANGED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_LINK_CHANGED&#160;&#160;&#160;0x0004</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>link changed </p>

</div>
</div>
<a id="adbfecb47897cfe63d4f6366c1fed23b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbfecb47897cfe63d4f6366c1fed23b2">&#9670;&nbsp;</a></span>LWIP_NSC_NETIF_ADDED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_NETIF_ADDED&#160;&#160;&#160;0x0001</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>netif was added. arg: NULL. Called AFTER netif was added. </p>

</div>
</div>
<a id="ae8e2dc87c19a03d481ae37bcf7ced5c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8e2dc87c19a03d481ae37bcf7ced5c9">&#9670;&nbsp;</a></span>LWIP_NSC_NETIF_REMOVED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_NETIF_REMOVED&#160;&#160;&#160;0x0002</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>netif was removed. arg: NULL. Called BEFORE netif is removed. </p>

</div>
</div>
<a id="a6f406ee3ab60e8a4f27ae2483c96b8e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f406ee3ab60e8a4f27ae2483c96b8e2">&#9670;&nbsp;</a></span>LWIP_NSC_STATUS_CHANGED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_NSC_STATUS_CHANGED&#160;&#160;&#160;0x0008</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>netif administrative status changed.<br />
up is called AFTER netif is set up.<br />
down is called BEFORE the netif is actually set down. </p>

</div>
</div>
<a id="a780be4c3fa9f7f2534f7865666c3a1b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a780be4c3fa9f7f2534f7865666c3a1b8">&#9670;&nbsp;</a></span>netif_is_link_up</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define netif_is_link_up</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><a class="el" href="structnetif.html">netif</a></td><td>)</td>
          <td>&#160;&#160;&#160;(((<a class="el" href="structnetif.html">netif</a>)-&gt;flags &amp; <a class="el" href="group__netif__flags.html#ga75f5a2b9276c93e3bd18a568459fd2d8">NETIF_FLAG_LINK_UP</a>) ? (u8_t)1 : (u8_t)0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Ask if a link is up </p>

</div>
</div>
<a id="ab887a8ec553de1be1d04cf2961c63c41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab887a8ec553de1be1d04cf2961c63c41">&#9670;&nbsp;</a></span>NETIF_MAX_HWADDR_LEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NETIF_MAX_HWADDR_LEN&#160;&#160;&#160;6U</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Must be the maximum of all used hardware address lengths across all types of interfaces in use. This does not have to be changed, normally. </p>

</div>
</div>
<a id="a302f24fbfe883ee4840ffc71f267ae2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a302f24fbfe883ee4840ffc71f267ae2a">&#9670;&nbsp;</a></span>NETIF_NAMESIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NETIF_NAMESIZE&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The size of a fully constructed netif name which the netif can be identified by in APIs. Composed of 2 chars, 3 (max) digits, and 1 \0 </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a71cad3277efe29191eef3348f4bf21f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71cad3277efe29191eef3348f4bf21f7">&#9670;&nbsp;</a></span>netif_igmp_mac_filter_fn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(* netif_igmp_mac_filter_fn) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *group, enum <a class="el" href="netif_8h.html#ab194ec4241fad8b6e9aac51e3ec23de0">netif_mac_filter_action</a> action)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function prototype for netif igmp_mac_filter functions </p>

</div>
</div>
<a id="a2b02a78a8769925ff8e4f83d34e5e1f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b02a78a8769925ff8e4f83d34e5e1f5">&#9670;&nbsp;</a></span>netif_init_fn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(* netif_init_fn) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function prototype for netif init functions. Set up flags and output/linkoutput callback functions in this function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>The netif to initialize </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab2302b1b64ac7b95f24c6bab754a575e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2302b1b64ac7b95f24c6bab754a575e">&#9670;&nbsp;</a></span>netif_input_fn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(* netif_input_fn) (struct <a class="el" href="structpbuf.html">pbuf</a> *p, struct <a class="el" href="structnetif.html">netif</a> *inp)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function prototype for netif-&gt;input functions. This function is saved as 'input' callback function in the netif struct. Call it when a packet has been received.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>The received packet, copied into a pbuf </td></tr>
    <tr><td class="paramname">inp</td><td>The netif which received the packet </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ERR_OK if the packet was handled != ERR_OK is the packet was NOT handled, in this case, the caller has to free the pbuf </dd></dl>

</div>
</div>
<a id="ab75e9d808bc1b788bea84213e6a111ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab75e9d808bc1b788bea84213e6a111ed">&#9670;&nbsp;</a></span>netif_linkoutput_fn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(* netif_linkoutput_fn) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, struct <a class="el" href="structpbuf.html">pbuf</a> *p)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function prototype for netif-&gt;linkoutput functions. Only used for ethernet netifs. This function is called by ARP when a packet shall be sent.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>The netif which shall send a packet </td></tr>
    <tr><td class="paramname">p</td><td>The packet to send (raw ethernet packet) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af2ed0716122b65e7feb43e0dd99ae468"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2ed0716122b65e7feb43e0dd99ae468">&#9670;&nbsp;</a></span>netif_mld_mac_filter_fn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(* netif_mld_mac_filter_fn) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a> *group, enum <a class="el" href="netif_8h.html#ab194ec4241fad8b6e9aac51e3ec23de0">netif_mac_filter_action</a> action)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function prototype for netif mld_mac_filter functions </p>

</div>
</div>
<a id="a7b4893aa2ed8c606a0cd7aa932fe5067"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b4893aa2ed8c606a0cd7aa932fe5067">&#9670;&nbsp;</a></span>netif_output_fn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(* netif_output_fn) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, struct <a class="el" href="structpbuf.html">pbuf</a> *p, const <a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> *ipaddr)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function prototype for netif-&gt;output functions. Called by lwIP when a packet shall be sent. For ethernet netif, set this to 'etharp_output' and set 'linkoutput'.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>The netif which shall send a packet </td></tr>
    <tr><td class="paramname">p</td><td>The packet to send (p-&gt;payload points to IP header) </td></tr>
    <tr><td class="paramname">ipaddr</td><td>The IP address to which the packet shall be sent </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a343a5b14136a51957d552527384674b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a343a5b14136a51957d552527384674b3">&#9670;&nbsp;</a></span>netif_output_ip6_fn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a>(* netif_output_ip6_fn) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>, struct <a class="el" href="structpbuf.html">pbuf</a> *p, const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a> *ipaddr)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function prototype for netif-&gt;output_ip6 functions. Called by lwIP when a packet shall be sent. For ethernet netif, set this to 'ethip6_output' and set 'linkoutput'.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>The netif which shall send a packet </td></tr>
    <tr><td class="paramname">p</td><td>The packet to send (p-&gt;payload points to IP header) </td></tr>
    <tr><td class="paramname">ipaddr</td><td>The IPv6 address to which the packet shall be sent </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a447d0a7e7c6e2396557c287b8b8c9436"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a447d0a7e7c6e2396557c287b8b8c9436">&#9670;&nbsp;</a></span>netif_status_callback_fn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* netif_status_callback_fn) (struct <a class="el" href="structnetif.html">netif</a> *<a class="el" href="structnetif.html">netif</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function prototype for netif status- or link-callback functions. </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ab194ec4241fad8b6e9aac51e3ec23de0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab194ec4241fad8b6e9aac51e3ec23de0">&#9670;&nbsp;</a></span>netif_mac_filter_action</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="netif_8h.html#ab194ec4241fad8b6e9aac51e3ec23de0">netif_mac_filter_action</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>MAC Filter Actions, these are passed to a netif's igmp_mac_filter or mld_mac_filter callback function. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ab194ec4241fad8b6e9aac51e3ec23de0a7ad3406353906deb4e64ebeed349e07e"></a>NETIF_DEL_MAC_FILTER&#160;</td><td class="fielddoc"><p>Delete a filter entry </p>
</td></tr>
<tr><td class="fieldname"><a id="ab194ec4241fad8b6e9aac51e3ec23de0a4186fbaf94be956ea1a3b02cd1cccb1f"></a>NETIF_ADD_MAC_FILTER&#160;</td><td class="fielddoc"><p>Add a filter entry </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a0ec111195bcc452f77895ad35aedd7dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ec111195bcc452f77895ad35aedd7dc">&#9670;&nbsp;</a></span>netif_get_ip6_addr_match()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s8_t netif_get_ip6_addr_match </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ip6__addr_8h.html#aaca9e796e93a355294c4954c08d01762">ip6_addr_t</a> *&#160;</td>
          <td class="paramname"><em>ip6addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Checks if a specific local address is present on the netif and returns its index. Depending on its state, it may or may not be assigned to the interface (as per RFC terminology).</p>
<p>The given address may or may not be zoned (i.e., have a zone index other than IP6_NO_ZONE). If the address is zoned, it must have the correct zone for the given netif, or no match will be found.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>the netif to check </td></tr>
    <tr><td class="paramname">ip6addr</td><td>the IPv6 address to find </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>&gt;= 0: address found, this is its index -1: address not found on this netif </dd></dl>

</div>
</div>
<a id="a75b5298b1c3c3794747d78a4ce95d81c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75b5298b1c3c3794747d78a4ce95d81c">&#9670;&nbsp;</a></span>netif_invoke_ext_callback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void netif_invoke_ext_callback </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__netif.html#gab2b9387389513a02027c62e246723808">netif_nsc_reason_t</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="unionnetif__ext__callback__args__t.html">netif_ext_callback_args_t</a> *&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invoke extended netif status event </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">netif</td><td>netif that is affected by change </td></tr>
    <tr><td class="paramname">reason</td><td>change reason </td></tr>
    <tr><td class="paramname">args</td><td>depends on reason, see reason description </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0fbaed78253d21e1b54e65651da3e327"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fbaed78253d21e1b54e65651da3e327">&#9670;&nbsp;</a></span>netif_poll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void netif_poll </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnetif.html">netif</a> *&#160;</td>
          <td class="paramname"><em>netif</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Call <a class="el" href="netif_8c.html#a0fbaed78253d21e1b54e65651da3e327">netif_poll()</a> in the main loop of your application. This is to prevent reentering non-reentrant functions like <a class="el" href="tcp__in_8c.html#ae70c3c99d9dd6b07f7e11f7ba5eedcb5">tcp_input()</a>. Packets passed to <a class="el" href="group__netif.html#ga691f1cc7c9778ffa62a3843c184404b2">netif_loop_output()</a> are put on a list that is passed to netif-&gt;input() by <a class="el" href="netif_8c.html#a0fbaed78253d21e1b54e65651da3e327">netif_poll()</a>. </p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a3d0925cbce550ed461907aee816713ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d0925cbce550ed461907aee816713ba">&#9670;&nbsp;</a></span>netif_default</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structnetif.html">netif</a>* netif_default</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The default network interface. </p>

</div>
</div>
<a id="a1c8141eaa98f6dc6dfddbb23a706656c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c8141eaa98f6dc6dfddbb23a706656c">&#9670;&nbsp;</a></span>netif_list</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structnetif.html">netif</a>* netif_list</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The list of network interfaces. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b0856f6b0d80ccb263b2f415c91f9e17.html">include</a></li><li class="navelem"><a class="el" href="dir_4e6b3cf33a61b6caac9c8ac30c866f37.html">lwip</a></li><li class="navelem"><a class="el" href="netif_8h.html">netif.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
